﻿using Com.FastSearch.SharePoint.Interfaces;
using ESPWebPartsUnitTest.mock;
using Microsoft.SharePoint.Administration;

namespace ESPWebPartsUnitTest.mock.factories
{
    class ESPSearchManagerFactoryMock: IESPSearchManagerFactory
    {
        public IESPSearchManager Create(SPWebApplication app)
        {
            return new ESPSearchManagerMock();
        }

        public IESPSearchManager Create(string connection)
        {
            return new ESPSearchManagerMock();            
        }
    }
}